<%--
  Created by IntelliJ IDEA.
  User: 松红
  Date: 2017/2/25
  Time: 19:05
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="sf" uri="http://www.springframework.org/tags/form" %>
<html>
<head>
    <title>约战平台</title>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <script type="application/x-javascript"> addEventListener("load", function () {
        setTimeout(hideURLbar, 0);
    }, false);
    function hideURLbar() {
        window.scrollTo(0, 1);
    } </script>
    <meta name="keywords"
          content="Flat Dark Web Login Form Responsive Templates, Iphone Widget Template, Smartphone login forms,Login form, Widget Template, Responsive Templates, a Ipad 404 Templates, Flat Responsive Templates"/>
    <link href="css/style.css" rel='stylesheet' type='text/css'/>
    <!--webfonts-->
    <%--<link href='http://fonts.useso.com/css?family=PT+Sans:400,700,400italic,700italic|Oswald:400,300,700'--%>
    <%--rel='stylesheet' type='text/css'>--%>
    <%--<link href='http://fonts.useso.com/css?family=Exo+2' rel='stylesheet' type='text/css'>--%>
    <!--//webfonts-->
    <link rel="stylesheet" href="<%=request.getContextPath()%>/resources/css/register1.css">
    <script src="http://ajax.useso.com/ajax/libs/jquery/1.11.0/jquery.min.js"></script>
    <style>
        * {
            overflow: hidden !important;
        }
    </style>
</head>


<%--标题《约起来》--%>
<h1>线上足球-约起来</h1>
<%--登录界面的form表单--%>
<div class="login-form">
    <%--美化表单表头部分--%>
    <div style="width: 100%;">
        <a href="<%=request.getContextPath()%>/login" class="close" target="_self">前往登录&gt;&gt;&gt;</a>
    </div>
    <div class="head-info">
        <label class="lbl-1"> </label>
        <label class="lbl-2"> </label>
        <label class="lbl-3"> </label>
    </div>
    <%--清楚浮动--%>
    <div class="clear"></div>
    <%--引入用户的头像--%>
    <div class="avtar">
        <img src="<%=request.getContextPath()%>/resources/image/avtar.png"/>
    </div>
    <sf:form method="post" modelAttribute="user" enctype="multipart/form-data"
             id="form" onsubmit="return checkForm(this)" action="/user/add">

        <sf:input path="userName" type="text" class="text text-bg" value="" id="tel"
                  maxlength="11" name="tel" placeholder="Telephone" onfocus="this.value = '';
        " onblur="if (this.value == '') {this.value = '用户名';}"/>


        <div class="key">
            <sf:input path="userPassword" class="password_input pass-bg" id="word" name="word"
                      value="" type="password" placeholder="Password" onfocus="this.value = '';"
                      onblur="if (this.value == '') {this.value = 'Password';}"/>

        </div>

        <div class="signin">
            <input type="submit" value="注册">
        </div>
    </sf:form>
</div>
<div class="copy-rights"></div>

</body>
</html>